Before calling any functions dependent upon ATSUI, you should pass the gestaltATSUVersion selector to the Gestalt function to determine which version of ATSUI is available. You should pass the gestaltATSUFeatures selector to Gestalt to determine which features of ATSUI are available.
enum {
gestaltATSUVersion = 'uisv',
gestaltATSUFeatures = 'uisf'
};
Constant descriptions
gestaltATSUVersion
The Gestalt selector you pass to determine the version of ATSUI installed on the user's system. On return, Gestalt passes back a Fixed value that represents the version of ATSUI that is installed on the user's system. You can also determine version information by testing for the feature bits described in ATSUI Attribute Constants.
gestaltATSUFeatures
The Gestalt selector you pass to determine which features of ATSUI are available. On return, Gestalt passes back a 32-bit mask, described in ATSUI Attribute Constants, which you can test to determine which features are available.